<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>修改拍卖品</title>
    <link href="/css/common.css" rel="stylesheet" type="text/css"/>
    <link href="/css/style.css" rel="stylesheet" type="text/css"/>
    <script src="/js/WebCalendar.js"></script>
</head>

<body>
<div class="wrap">
    <!-- main begin-->
    <div class="sale">
        <h1 class="lf">在线拍卖系统</h1>
        <div class="logout right"><a href="#" title="注销">注销</a></div>
    </div>
    <form action="/updateAuction" method="post">
        <div class="login logns produce">
            <h1 th:text="${session.msg}" style="color:red"></h1>
            <h1 class="blues">拍卖品信息</h1>
            <dl>
                <dd>
                    <input type="hidden" name="auctionid" th:value="${auction.auctionid}">
                </dd>
                <dd>
                    <label>名称：</label>
                    <input type="text" class="inputh lf" th:value="${auction.auctionname}" name="auctionname"/>
                    <div class="xzkbg spbg lf"></div>
                </dd>
                <dd>
                    <label>起拍价：</label>
                    <input type="text" class="inputh lf" th:value="${auction.auctionstartprice}"
                           name="auctionstartprice"/>
                    <div class="lf red laba">必须为数字</div>
                </dd>
                <dd>
                    <label>底价：</label>
                    <input type="text" class="inputh lf" th:value="${auction.auctionupset}" name="auctionupset"/>
                    <div class="lf red laba">必须为数字</div>
                </dd>
                <dd>
                    <label for="time">开始时间</label>
                    <input name="auctionstarttime"
                           th:value="${#dates.format(auction.auctionstarttime,'yyyy-MM-dd hh:mm:ss')}"
                           type="text" id="time" class="nwinput" readonly="readonly"
                           onclick="selectDate(this,'yyyy-MM-dd hh:mm:ss')"
                    />
                    <div class="lf red laba"  th:text="'格式： ' +${#dates.format(auction.auctionstarttime,'yyyy-MM-dd hh:mm:ss')}">格式：2011-05-05 12:30:00</div>
                </dd>
                <dd>
                    <label for="end-time">结束时间</label>
                    <input name="auctionendtime"
                           th:value="${#dates.format(auction.auctionendtime,'yyyy-MM-dd hh:mm:ss')}"
                           type="text" id="end-time" class="nwinput" readonly="readonly"
                           onclick="selectDate(this,'yyyy-MM-dd hh:mm:ss')"
                    />
                    <div class="lf red laba" th:text="'格式： ' +${#dates.format(auction.auctionendtime,'yyyy-MM-dd hh:mm:ss')}">格式：2011-05-05 12:30:00</div>
                </dd>
                <dd class="dds">
                    <label>描述：</label>
                    <textarea cols="" rows="" class="textarea" th:text="${auction.auctiondesc}"
                              name="auctiondesc">嘿嘿</textarea>
                </dd>
                <dd>
                    <label>修改图片：</label>
                    <div class="lf salebd"><a href="#"><img
                            th:src="@{E:/pic/}+${auction.auctionpic}" width="100"
                            height="100"/></a></div>
                    <input name="newImg" type="file" class="marg10"/>
                </dd>
                <dd class="hegas">
                    <input name="" type="submit" value="保 存" class="spbg buttombg buttombgs f14 lf buttomb"/>
                    <input name="" type="button" value="取 消" class="spbg buttombg buttombgs f14 lf buttomb"
                           onclick="location='/queryAllAuctions'"/>
                </dd>
            </dl>
        </div>
    </form>
    <!-- main end-->
    <!-- footer begin-->

</div>
<!--footer end-->

</div>
</body>
</html>
